/**
 * 
 */
package sfeir.authform.client.service;

import sfeir.authform.client.dao.AuthUser;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("gwtservice")
public interface AuthGWTService extends RemoteService {
    public String getLoginURL();
    public String getLogoutURL();
    public AuthUser getCurrentUser();
    public Boolean isUserAdmin();
    public Boolean isUserLoggedIn();
    public Integer getAuthType();
    public Boolean signup(AuthUser sign);
    public Boolean updateUser(AuthUser user);
    public Boolean deleteUser(AuthUser user);
    public AuthUser login(String login, String password);
    public void logout();
    public Boolean getLostPassword(String login);
}
